package com.example.tool.bean.ddaiexcel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class CreateAiSheetResponse {
    @JsonProperty("id")
    private String id;
    @JsonProperty("name")
    private String name;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ErrorResponse {
        private String requestId;
        private String code;
        private String message;

        @JsonProperty("requestid")
        public void setRequestId(String requestId) {
            this.requestId = requestId;
        }
    }
}
